Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.routing.dashboard.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dashboard.layouts inside nuxeo-routing-dashboard-9.10.jar /OSGI-INF/document-routing-dashboard-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="routing_task_name" type="text">
          <labels>
            <label mode="any">label.workflow.task.name</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.name</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_target_document" type="singleDocumentSuggestion">
          <labels>
            <label mode="any">label.document</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.targetDocumentsIds</field>
          </fields>
        </widget>
  • <widget name="routing_task_duedate" type="datetime">
          <labels>
            <label mode="any">label.widget.task_step.dueDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.dueDate</field>
          </fields>
          <properties mode="any">
            <property name="format">#{nxu:dateAndTimeFormatter('medium')}
            </property>
            <property name="timeZone">#{timeZone}</property>
          </properties>
        </widget>
  • <widget name="routing_task_directive" type="text">
          <labels>
            <label mode="any">label.widget.task_step.directive</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.directive</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_actors" type="multiplePrefixedUsersSuggestion">
          <labels>
            <label mode="any">label.document.route.content.header.actors
            </label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.actors</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_comments" type="list">
          <labels>
            <label mode="any">label.content.header.comments</label>
          </labels>
          <fields>
            <field>data.nt.taskComments</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="comment" type="text">
              <fields>
                <field/>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="routing_task_workflow_name" type="listing_workflow_name_task">
          <labels>
            <label mode="any">label.review.type</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data.nt.processId</field>
          </fields>
          <properties mode="any">
            <property name="localize">true</property>
          </properties>
        </widget>
  • <widget name="routing_task_process_btn" type="listing_process_task">
          <labels>
            <label mode="any"/>
          </labels>
          <translated>true</translated>
          <fields>
            <field>data</field>
            <field>data.nt.targetDocumentsIds</field>
          </fields>
          <properties mode="any">
            <property name="tab">TAB_ROUTE_WORKFLOW</property>
          </properties>
        </widget>
  • <widget name="workflowTabs" type="tabs">
          <properties mode="view">
            <property name="actionsDisplay">links</property>
            <property name="addForm">true</property>
            <property name="useAjaxForm">false</property>
            <property name="category">WORKFLOW_DASHBOARD</property>
            <property name="actions">#{webActions.getActionsList('WORKFLOW_DASHBOARD')}</property>
            <property name="currentTabAction">#{webActions.getCurrentTabAction('WORKFLOW_DASHBOARD')}</property>
            <property name="overallDisplay">horizontal_block</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <!-- Listing widgets -->
    <widget name="routing_task_name" type="text">
      <labels>
        <label mode="any">label.workflow.task.name</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.name</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_target_document" type="singleDocumentSuggestion">
      <labels>
        <label mode="any">label.document</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.targetDocumentsIds</field>
      </fields>
    </widget>

    <widget name="routing_task_duedate" type="datetime">
      <labels>
        <label mode="any">label.widget.task_step.dueDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.dueDate</field>
      </fields>
      <properties mode="any">
        <property name="format">#{nxu:dateAndTimeFormatter('medium')}
        </property>
        <property name="timeZone">#{timeZone}</property>
      </properties>
    </widget>

    <widget name="routing_task_directive" type="text">
      <labels>
        <label mode="any">label.widget.task_step.directive</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.directive</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_actors" type="multiplePrefixedUsersSuggestion">
      <labels>
        <label mode="any">label.document.route.content.header.actors
        </label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.actors</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_comments" type="list">
      <labels>
        <label mode="any">label.content.header.comments</label>
      </labels>
      <fields>
        <field>data.nt.taskComments</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="comment" type="text">
          <fields>
            <field/>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="routing_task_workflow_name" type="listing_workflow_name_task">
      <labels>
        <label mode="any">label.review.type</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data.nt.processId</field>
      </fields>
      <properties mode="any">
        <property name="localize">true</property>
      </properties>
    </widget>

    <widget name="routing_task_process_btn" type="listing_process_task">
      <labels>
        <label mode="any"/>
      </labels>
      <translated>true</translated>
      <fields>
        <field>data</field>
        <field>data.nt.targetDocumentsIds</field>
      </fields>
      <properties mode="any">
        <property name="tab">TAB_ROUTE_WORKFLOW</property>
      </properties>
    </widget>
    <!-- Listing widgets -->

    <widget name="workflowTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">false</property>
        <property name="category">WORKFLOW_DASHBOARD</property>
        <property name="actions">#{webActions.getActionsList('WORKFLOW_DASHBOARD')}</property>
        <property name="currentTabAction">#{webActions.getCurrentTabAction('WORKFLOW_DASHBOARD')}</property>
        <property name="overallDisplay">horizontal_block</property>
      </properties>
    </widget>

  </extension>